package top.wnma.crud.pojo;

import java.io.Serializable;
import java.sql.Date;

public class Staff implements Serializable {

	private Integer sid;
	private String sname;
	private String snumber;
	private String semail;
	private Date sdate;//删除标识，1：已删除，0：未删除
	private String sphone;
	private String ssex;
	private String sstatus;
	
	private Department department;//部门
	
	private String dname;
	
	
	public String getDname() {
		return dname;
	}

	public void setDname(String dname) {
		this.dname = dname;
	}

	public Department getDepartment() {
		return department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}
	@Override
	public String toString() {
		return "Staff [sid=" + sid + ", sname=" + sname + ", snumber=" + snumber + ", semail=" + semail + ", sdate="
				+ sdate + ", sphone=" + sphone + ", ssex=" + ssex + ", sstatus=" + sstatus + ", department="
				+ department + "]";
	}
	

	/*@Override
	public String toString() {
		return "Staff [sid=" + sid + ", sname=" + sname + ", snumber=" + snumber + ", semail=" + semail + ", sdate="
				+ sdate + ", sphone=" + sphone + ", ssex=" + ssex + ", sstatus=" + sstatus + "]";
	}*/

	public Integer getSid() {
		return sid;
	}


	public void setSid(Integer sid) {
		this.sid = sid;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSnumber() {
		return snumber;
	}

	public void setSnumber(String snumber) {
		this.snumber = snumber;
	}

	public String getSemail() {
		return semail;
	}

	public void setSemail(String semail) {
		this.semail = semail;
	}

	public Date getSdate() {
		return sdate;
	}

	public void setSdate(Date sdate) {
		this.sdate = sdate;
	}

	public String getSphone() {
		return sphone;
	}

	public void setSphone(String sphone) {
		this.sphone = sphone;
	}

	public String getSsex() {
		return ssex;
	}

	public void setSsex(String ssex) {
		this.ssex = ssex;
	}

	public String getSstatus() {
		return sstatus;
	}

	public void setSstatus(String sstatus) {
		this.sstatus = sstatus;
	}

	
	
	
	
	
	
}
